/* Copyright (c) 2011 by Mani Brundha Kattamuri, Haritha Subramanyam
 *
 * Project Info:  http://code.google.com/p/andriod-travelapp-csc780/wiki/Design
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
 * License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
 * USA.
 */

package com.example.TravelApp.constants;

/**
 * This is an interface that contains definitions of several constants that are
 * used by several activities and classes
 * 
 * @author Haritha Subramanyam, Mani Brundha
 */
public interface MapConstants {

	/**
	 * Constants for URL for google places API
	 */
	public static final String GOOGLE_PLACES_URL = "https://maps.googleapis.com/maps/api/place/search/json?location=";

	public static final String GOOGLE_PLACES_RADIUS = "&radius=";

	public static final String GOOGLE_PLACES_TYPES = "&types=";

	public static final String GOOGLE_PLACES_NAME = "&name=";

	public static final String GOOGLE_PLACES_SENSOR = "&sensor=";

	public static final String GOOGLE_PLACES_KEY = "&key=AIzaSyDzCR523KK9HS6_iKvKqbsTyJ1JP4-BeUM";

	public static final String GOOGLE_PLACES_RADIUS_VALUE = "2500";

	public static final String GOOGLE_PLACES_SENSOR_VALUE = "false";

	public static final String GOOGLE_PLACES_NAME_VALUE = "";

	public static final String GOOGLE_PLACES_DEFAULT_IMG_URL = "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png";

	/**
	 * Constants for URL for google Maps API to get location co-ordinates for
	 * drawing route
	 */
	public static final String LOCATION_FROM_TAG = "Current Location";

	public static final String DELIMITER_COMMA = ",";

	public static final String GOOGLE_MAPS_URL = "http://maps.google.com/maps?f=d&hl=en&saddr=";

	public static final String GOOGLE_MAPS_URL_DEST_ADDR = "&daddr=";

	public static final String GOOGLE_MAPS_URL_OUTPUT_SPEC = "&ie=UTF8&0&om=0&output=kml";

	public static final String GOOGLE_RESULT_GEOMETRY_ITEM = "GeometryCollection";

	public static final double DEFAULT_LAT = 37.389391;

	public static final double DEFAULT_LON = -122.084267;

	public static final int HIGH = 6;

	public static final int LOW = 1;

	public static final int MODERATE = 3;

	public static final int DEFAULTTIME = 2;

	/**
	 * Constants for URL for google route distance and time
	 */

	public static final String GOOGLE_MAPS_URL_FOR_DIST = "http://maps.google.com/maps/api/directions/json?origin=";

	public static final String GOOGLE_MAPS_URL_FOR_DIST_DEST = "&destination=";

	public static final String GOOGLE_MAPS_URL_FOR_DIST_SENSOR = "&sensor=false";

	public static final int AVG_SPEED = 35;

	public static final float TO_MILES_CONST = 0.000621371192f;

	public static final double NEAR_TO = 0.25;
}
